<template>
  <heads title="用户登陆"/>

  <view>
    <button type="primary" class="width70p distance-half" @click="login">微信登陆</button>
  </view>
</template>

<script lang="ts" setup>
import Heads from "@/components/head/heads.vue";

function login() {
  uni.switchTab({url: "/pages/register/index"})
}
</script>

